package com.citywy.dao;

import com.citywy.domain.Account;

import java.util.List;

public interface AccountDao {
    //查询所有
    List<Account> findAllAccount();

    //根据ID查询
    Account findAccountById(Integer id);

    //保存
    void saveAccount(Account account);

    //更新
    void updateAccount(Account account);

    //删除
    void deleteAccount(Integer id);
}
